Kefence: An Electric Fence for Kernel Buffers

نویسندگان

  • Nikolai Joukov
  • Aditya Kashyap
  • Gopalan Sivathanu
  • Erez Zadok
چکیده

Improper access of data buffers is one of the most common errors in programs written in assembler, C, C++, and several other languages. Existing programs and OSs frequently access the data beyond the allocated buffers or access buffers that were already freed. Such programs and OSs may run for years before their problems can be detected because improper memory accesses frequently result in a silent data corruption. Not surprisingly, most computer worms exploit buffer overflow errors to gain complete control over computer systems. Only after recent worm epidemics, did code developers begin to realize the scale of the problem and the number of potential memory-access violations in existing code. Due to the syntax and flexibility of many programming languages, memory access violation problems cannot be detected at compile time. Tools that verify correctness before every memory access impose unacceptably high overheads. As a result, most of the developed techniques focus on preventing the hijacking of control by hackers and worms due to stack overflows. Consequently, hidden data corruption is given less attention. Memory access violations can be efficiently detected using the hardware support of the paging and virtual memory. Kefence is the general run-time solution we developed that allows to detect and avoid in-kernel overflow, underflow, and stale access problems for internal kernel buffers. Kefence is especially applicable to file system code because file systems operate at a high level of abstraction and require no direct access to the physical memory. At the same time, file systems use a large number of kernel buffers and file system errors are most harmful for users because users’ persistent data can be corrupted.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Developing an Electrified Fence to Exclude Rabbits from Crops

The effectiveness of a new design of electric strained wire fence (CSL fence) for managing rabbits is currently being assessed in a two year trial. It is being compared with a commercially available electric netting fence (Flexinet fence) and also with farmers' normal control methods. The study is taking place on commercial farms in Cornwall, England, where the fences are being erected to prote...

متن کامل

Effectiveness of a Vertical 3-wire Electric Fence Modified with Attractants or Repellents as a Deer Exclosure

We conducted experiments with behavioral conditioning of white-tailed deer (Odocoileus virginianus) using verb 3-wire, electrified fencing modified with either an attractant or a repellent in order to test the idea that an attractant or repellent coupled with an electric shock, would be a more effective deterrent than a random shock or no shock at all. Exclosures measuring 6 x 6 m with 3 wires ...

متن کامل

Black bear exclusion fences to protect mobile apiaries

Demand for commercial bee (Apis mellifera) services recently has increased, resulting in greater use of mobile apiaries for crop pollination. When commercial apiaries are moved into areas occupied by black bears (Ursus americanus), conflicts between beekeepers and bears sometimes occur. Commercial pollination often involves moving apiaries among agricultural fields, and, thus, permanent fencing...

متن کامل

IJSRD - International Journal for Scientific Research & Development| Vol. 3, Issue 11, 2016 | ISSN (online): 2321-0613

Android is a java based operating system which runs on the Linux 2.6 kernel. Android is full featured and lightweight. Android application are developed using Java and can be ported to new platform easily thereby adopting huge number of useful mobile applications. An amazing mobile application in this there is a three technologies are used, place tracking you can track nearest places like ATM, ...

متن کامل

A novel bipolar electric fence for excluding white - tailed deer from stored livestock feed 1

ABSTRACT: Where cattle (Bos taurus) and freeranging white-tailed deer (Odocoileus virginianus) coexist, they frequently share space and resources, potentially resulting in damage to stores of livestock feed and risk of interspecies disease transmission. Preventing use of stored feed by deer can be an important objective in farm management, depending on amount of damage experienced and perceived...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005